Alibabacloud.com offers a wide variety of articles about java scjp questions and answers, easily find your java scjp questions and answers information here online.
Analysis of the Java2 Programmer examination (SCJP) -- Linux general technology-Linux programming and kernel information. The following is a detailed description. Preface
Whether you are a newbie or an expert in programming, you will be amazed by the Infinite Charm of Sun's Java. Java brings you more than just the advantages of object-oriented, open, platform-in
, the following about the IOC description error in the spring feature is ()A,ioc means that the relationship between programs is manipulated directly by the program code.B, the so-called "control reversal" refers to the transfer of control from the application code to the external container, that is, the control rightC,IOC the responsibility of controlling the creation into the framework, separating from the application codeD, when using the spring IOC container, only the objects required by the
Concise answers to several java interview questions, concise java interview questions
The difference between equal and = in java:
The equal method is used to compare object references unless it is overwritten (such as String class
"). Append ("World"). Append ("I love You");
This time S has more than one string to splice, it is supposed to be a number of objects generated, but the JVM will be an optimization, that is, only create an object, at this time it executes faster than the stringbuffer stitching. Look at this:
String s2 = "Hello"; String s3 = "World"; String S4 = "I love You"; String S1 = s2 + s3 + S4;
In this case, three more objects are created, resulting in a waste of memory space.
Question one: What do you want the work environment to be like?Standard answer: I am not demanding on the environment, I will try to adapt to the environment.Note: This is a question of whether you are testing your job search mentality, whether you are centered on yourself or on the job.Question two: What shortcomings do you think you have?Standard answer: Say some of the small shortcomings of this position, or say that their "shortcomings" is no work experience.Note: This problem is very sinist
Interview Questions and answers for 40 Java sets and 40 Java Sets
Provided by Beijing shangxuetang
1. JavaWhat is a collection framework? What are the advantages of a collection framework?
Each programming language has a set. The original Java version contains several collec
115 Java Interview Questions and answers-ultimate list (I), 115 java
This article will discuss various types of interview questions in Java interviews, which allow employers to test candidate's
Java Multithreading and Concurrency basics interview questions and AnswersOriginal link: http://ifeve.com/java-multi-threading-concurrency-interview-questions-with-answers/Multithreading and concurrency issues are among the questions
threadlocal, Blocking Queue, counting semaphore and concurrenthashmap are more prevalent.
15 Java Multi-threaded face questions and answers
1 Now there are T1, T2, T3 three threads, how do you ensure that T2 after T1 execution, T3 after the implementation of T2 execution?
This threading problem is usually asked in the first round or during the phone interview
is used for medium-sized and large-scale data applications. The serial collector is sufficient for most small applications, which require about 100M of memory on modern processors.41. In Java, when can objects be garbage collected?This object can be recycled when the object becomes inaccessible to applications that currently use the object.Is there a garbage collection in the permanent generation of 42.JVM?Garbage collection does not occur in a perma
The Java Collection framework is the foundation of the Java programming language and is an important knowledge point in the Java interview. Here, I've listed some important questions and answers about the Java collection.What is a
applications. The serial collector is sufficient for most small applications, which require about 100M of memory on modern processors.41. In Java, when can objects be garbage collected?This object can be recycled when the object becomes inaccessible to applications that currently use the object.Is there a garbage collection in the permanent generation of 42.JVM?Garbage collection does not occur in a permanent generation, and if it is permanently full
applications. The serial collector is sufficient for most small applications, which require about 100M of memory on modern processors.41. In Java, when can objects be garbage collected?This object can be recycled when the object becomes inaccessible to applications that currently use the object.Is there a garbage collection in the permanent generation of 42.JVM?Garbage collection does not occur in a permanent generation, and if it is permanently full
foundation, grasp the principle of good technology, and then to practice, so as to understand a technology, learning can not have!In addition, the interview process, to maintain self-confidence, will not be bold to say no, no good disgrace, not to say you really will not, perhaps forget, perhaps did not notice, remember the interview topic, back to their own supplementary information and related information, I believe you will be more and more calmly, to remember not for the interview and inter
foundation, grasp the principle of good technology, and then to practice, so as to understand a technology, learning can not have!In addition, the interview process, to maintain self-confidence, will not be bold to say no, no good disgrace, not to say you really will not, perhaps forget, perhaps did not notice, remember the interview topic, back to their own supplementary information and related information, I believe you will be more and more calmly, to remember not for the interview and inter
thread encounters IO blocking, I do not think there is a way to abort the thread. If the thread is blocking because of a call to wait, sleep, or join methods, you can break the threads and wake it up by throwing interruptedexception. I've written earlier how to deal with blocking methods in Java has a lot of information about handling thread blocking.13) What is the difference between Cyclibarriar and Countdownlatch in
load Java extension libraries. The implementation of the Java virtual machine provides an extension library directory. The class loader finds and loads Java classes in this directory.3. Systems Class Loader (System class loader): It loads Java classes based on the Java appl
having to consider which instance of the subclass is returned.Proxy Mode: provides a proxy object for an object and controls the reference of the original object by the proxy object. In actual development, according to the different purposes, the agent can be divided into: Remote agent, virtual agent, protection agent, cache agent, firewall agent, synchronous agent, intelligent reference Agent.Adapter Mode: transforms the interface of a class into another interface that the client expects, so t
method in a subclass that has the same name and parameters as its parent, we say that the method is overridden (override). When an object of a subclass uses this method, the definition in the subclass is called, and for it the definition in the parent class is "masked".
If more than one method with the same name is defined in a class, they either have a different number of arguments or have different parameter types, which is called a method overload (overload).The overloaded method is a ty
problem is if the elements in the collection, this will bring some errors, some unpredictable errors, So it is forbidden to do so in collection.29th, when an object is passed as a parameter to a method, this method can change the properties of the object and return the changed result, so is this a value pass or a reference pass?Reference passing, there is no doubt that object passing can only be a reference. You can change the content of the reference, but not change the reference itself.30th,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.